package com.qf.forum.client;

import com.qf.base.forum.IconDTO;
import com.qf.base.push.MessageDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "push-service")
public interface PushClient {
    @PostMapping("/push/send")
    String send(@RequestBody MessageDTO messageDTO);
}
